from datetime import datetime


def genedatetime(format='%Y-%m-%d %H-%M-%S'):
    # return datetime.now().strftime(format)
    return int(datetime.now().timestamp())